import request from '@/utils/request'
export const code = key => request.get('/manager/captcha', {
  params: { key }, responseType: 'arraybuffer'
})
export const login = (data) => request.post('/manager/login', data)

